<?php
define('DEBUG',1); // 1:测试环境, 2:加载正式环境配置 0:正式运行
define('APP', 'Chat');
define('APP_URL', 'http://chat.easy.com/');
define('APP_ROOT', dirname(dirname(__FILE__)));
define('Chat_ROOT', dirname(__FILE__));
define('Root', dirname(dirname(dirname(dirname(__FILE__)))));
require_once Chat_ROOT . '/core/init.php';

// 自定义路由
$ct = isset($_GET['_c']) ? trim($_GET['_c']) : 'index';
$ac = isset($_GET['_a']) ? trim($_GET['_a']) : 'index';


route($ct, $ac);